package com.yunchao.feature.business.domain.enum

internal enum  class BusinessType(val type: String, val describe: String) {

    BusinessTypeMIMISIF001(type = "MIMISIF001", describe = "空包登记"),
    BusinessTypeMIMISIF002(type = "MIMISIF002", describe = "空包登记"),
    BusinessTypeMIMISIF003(type = "MIMISIF003", describe = "封箱扫描"),
    BusinessTypeMIMISIF004(type = "MIMISIF004", describe = "封装扫描"),
    BusinessTypeMIMISIF005(type = "MIMISIF005", describe = "拆封扫描"),
    BusinessTypeMIMISIF006(type = "MIMISIF006", describe = "拆封扫描"),
    BusinessTypeMIMISIF007(type = "MIMISIF007", describe = "出库"),
    BusinessTypeMIMISIF008(type = "MIMISIF008", describe = "出库"),
    BusinessTypeMIMISIF009(type = "MIMISIF009", describe = "入库"),
    BusinessTypeMIMISIF010(type = "MIMISIF010", describe = "入库"),
    BusinessTypeMIMISIF011(type = "MIMISIF011", describe = "实物交接"),
    BusinessTypeMIMISIF012(type = "MIMISIF012", describe = "实物交接"),
    BusinessTypeMIMISIF013(type = "MIMISIF013", describe = "款项分配"),
    BusinessTypeMIMISIF014(type = "MIMISIF014", describe = "款项分配"),
    BusinessTypeMIMISIF100(type = "MIMISIF100", describe = "刷新任务")
}

// 定义任务类型集合
val validBusinessTypes = setOf(
    BusinessType.BusinessTypeMIMISIF001.type,
    BusinessType.BusinessTypeMIMISIF003.type,
    BusinessType.BusinessTypeMIMISIF005.type,
    BusinessType.BusinessTypeMIMISIF007.type,
    BusinessType.BusinessTypeMIMISIF009.type,
    BusinessType.BusinessTypeMIMISIF011.type,
    BusinessType.BusinessTypeMIMISIF013.type
)
// 定义任务类型集合
val validSubmitBusinessTypes = setOf(
    BusinessType.BusinessTypeMIMISIF002.type,
    BusinessType.BusinessTypeMIMISIF004.type,
    BusinessType.BusinessTypeMIMISIF006.type,
    BusinessType.BusinessTypeMIMISIF008.type,
    BusinessType.BusinessTypeMIMISIF010.type,
    BusinessType.BusinessTypeMIMISIF012.type,
    BusinessType.BusinessTypeMIMISIF014.type
)